
from pom.main_page import MainPage
from pom.toggle_page import TogglePage
from pom.login_page import LoginPage
from pom.reply_page import ReplyPage

if __name__ == '__main__':
    mainpage = MainPage()
    # 从首页打开话题
    mainpage.click_topic()

    replypage= ReplyPage()
    # 回复话题
    replypage.reply('你好，你发的贴子很好看！')
    # 给回复点赞
    replypage.click_up()

    #获取 toast 文本值
    text = replypage.get_toast_text()
    print('toast text',text)